using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Light : MonoBehaviour
{
    public float revolveSpeed;
    private void Revolve()
    {
        transform.rotation = Quaternion.Euler(transform.rotation.eulerAngles + new Vector3(0, 0, revolveSpeed));
    }
    // Update is called once per frame
    void Update()
    {
        Revolve();
    }
}
